package com.trkj.service.impt;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class MyAspect {
    @Before("execution(* com.trkj.service.impt.Service.fun())")
    public void method1() {
        System.out.println("DDDDDDDDDD");
        System.out.println("EEEEEEEEEE");
    }
}
